const fs = require('fs')
const path = require('path')

// 路径引入与启动文件的路径有关，需要使用绝对路径方法拼接，保证路径的正确
const PRIVATE_KEY = fs.readFileSync(path.resolve(__dirname, './keys/private.key'));
const PUBLIC_KEY = fs.readFileSync(path.resolve(__dirname, './keys/public.key'));

module.exports = {
    PRIVATE_KEY,
    PUBLIC_KEY
}